<template>
  <v-app-bar app color="#F5F5F5" elevate-on-scroll dense>
    <v-btn icon @click="back">
      <v-icon>mdi-chevron-left</v-icon>
    </v-btn>
    <v-toolbar-title class="body-1">选择地区</v-toolbar-title>
    <v-spacer></v-spacer>
    <span @click="$emit('onConfirmBtnClick')" style="color: #2AB795">确定</span>
  </v-app-bar>
</template>

<script>
export default {
  methods: {
    back() {
      this.$router.go(-1);
    }
  }
};
</script>
